package com.santu.edu.supporter.biz.school.pojo.dto;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author luoyaoqi
 * @createTime 2024/2/21
 * @description
 */
@Data
@Accessors(chain = true)
public class SchoolDTO {
    /**
     * 学校id
     */
    private String schoolId;

    /**
     * 学校名称
     */
    private String schoolName;

    public static SchoolDTO createItem(String schoolId, String schoolName) {
        return new SchoolDTO()
                .setSchoolId(schoolId)
                .setSchoolName(schoolName);
    }
}
